package com.tuyuan.alramautorobot.time.model.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class AutoBaseMessageBO {


    /**
     * 推送人
     */
    @JsonProperty(value = "mentioned_list")
    private String to;


    @JsonProperty(value = "mentioned_mobile_list")
    private String mobileTo;

    /**
     * 内容
     */
    @JsonProperty(value = "content")
    private String content;

    /**
     * 推送时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime time;

}
